package com.xinzhi.model;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 道具卡流水记录表
 * </p>
 *
 * @author laohan
 * @since 2024-01-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="CardAssetRecords对象", description="道具卡流水记录表")
public class CardAssetRecords implements Serializable {

private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String uuid;

    @ApiModelProperty(value = "资产id")
    private Integer cardAssetId;

    @ApiModelProperty(value = "订单id")
    private Integer orderId;

    @ApiModelProperty(value = "变动前余额")
    private Long before;

    @ApiModelProperty(value = "变动后余额")
    private Long after;

    @ApiModelProperty(value = "数额")
    private Long value;

    @ApiModelProperty(value = "0为流出   1流入")
    private Boolean type;

    @ApiModelProperty(value = "流水描述")
    private String description;

    private Date deletedAt;

    private Date createdAt;

    private Date updatedAt;


}
